<{include file="_header.html"}>

	<!-- 开始 -->
	<div class="edit-div">
		<form id="postForm" method="POST" action="" target="result">
		<table cellspacing="0" cellpadding="0" border="0" width="100%">
			<tr>
				<th width="250">&nbsp;</th>
				<td><input type="submit" class="button" value="提交" /></td>
			</tr>
			<tr>
				<th>结果：</th>
				<td>
					<iframe name="result" style="width:0;height:0;border:0;"></iframe>
					<textarea readonly id="myResult" style="width:600px;height:300px;resize:none;"></textarea>
				</td>
			</tr>
		</table>
		</form>
	</div>
	<!-- 结束 -->

<{include file="_footer.html"}>
<script type="text/javascript">
/**
 * 
 */
function displayResult(content) {
	var tmp = $("#myResult").val();
	tmp += content + "\r\n";
	$("#myResult").val(tmp);
	
	///
	var scrollTop = $("#myResult")[0].scrollHeight;
	$("#myResult").scrollTop(scrollTop);
}

/**
 * 
 */
$(function() {
	$("#postForm").validate({
		submitHandler: function(form) {
			$("#myResult").val("");
			form.submit();
			return false;
		}
	});
});
</script>
